package com.pxmeta.dynamic.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wcl
 * @since 2022-07-14
 */
@TableName("kt_dynamic_dislike")
@ApiModel(value = "DynamicDislike对象", description = "")
@Data
public class DynamicDislike implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("动态id")
    private Long dynamicId;

    @ApiModelProperty("屏蔽类型：1屏蔽内容，2减少内容推荐，3减少作者推荐。")
    private Integer type;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
